package day06;

public class twoArray {
    public static void main(String[] args) {
        int[][] a=new int[][]{{12,3,5},{23,19,0},{34,2}};
        int sum=0;
        for (int i=0;i<a.length;i++){
            for (int j=0;j<a[i].length;j++){
                sum+=a[i][j];
            }
        }
        System.out.println("二维数组的和为："+sum);
    }
}
